package org.eleorc.ioc.beans.definition.inheritance;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * https://docs.spring.io/spring-framework/docs/5.3.34/reference/html/core.html#beans-child-bean-definitions
 */
public class Demo {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");
        DerivedTestBean bean = context.getBean(DerivedTestBean.class);
        System.out.println(bean);
    }
}
